'use strict';

stareal
    .controller("HistorySignController", function ($scope,$interval,$document, $stateParams, $api, $sce, base64, $state, $alert,localStorageService,$timeout,$lazyLoader) {
        // 加载对应演出种类的内容
       // $scope.goods = new $lazyLoader("app/view/history", {},true);
        $api.get("app/view/historylist", {
            pageNum: 1,
            pageSize: 30
        },true).then(function (ret) {
            var data=ret.data;
            for(var i=0;i<data.length;i++){
                var d_Date = new Date(data[i].history_data);
                data[i].riliMonth=d_Date.getMonth()+1;
                data[i].riliYear=d_Date.getFullYear();
            }
            $scope.goods = data;
            // console.log($scope.goods);
            //暂无内容

        });



    });